'use strict';
define(['login/login-component',
    'workspace/workspace-component'
], function(loginComponent, workspaceComponent) {
    //全局路由定义
    return [{
        name: 'app',
        redirectTo: 'login'
    }, {
        name: "login",
        url: "/login",
        component: "loginForm"
    }, {
        name: "workspace",
        url: "/workspace",
        component: "workspace"
    }];
})
